package org.dawning.shop.common.domain.product;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.dawning.shop.common.vo.CategoryAttribute;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created by miou on 2017/6/8 0008.
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProductItem {

    /**
     * 商品规格
     */
    private List<CategoryAttribute> attributes;


    /**
     * 商品价格
     */
    private BigDecimal price;
    /**
     *  商品库存数量
     */
    private long amount;

    /**
     *  商品库存警告数量
     */
    private long warnAmount;

}
